package com.situ.onlinebookstore.front.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user/order")
public class OrderController {

    @GetMapping("/settle")
    public String settle(){
        return "/user/confirm-order";
    }

    @GetMapping("pay")
    public String pay(){
        return "/user/pay";
    }
    @GetMapping
    public String order(){
        return "user/confirm-order";
    }

    @GetMapping("/ucOrder")
    public String ucOrder(){
        return "/user/uc-order";
    }
}
